<template>
  <head>
    <meta charset="utf-8">
    <title>{{info.title}}</title>
    <meta :content="info.keyword" name="keywords">
    <meta :content="info.summary" name="description">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
  </head>
</template>

<script>
import {getWebConfig} from "../../api/index";

export default {
  name: "Head",
  data() {
    return {
      info: {}
    };
  },
  created() {
    getWebConfig().then(response => {
      if (response.code == this.$ECode.SUCCESS) {
        this.info = response.data;
      }
    });
  },
  methods: {}
};
</script>

<style>
</style>
